package com.ios.common.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * IosSysGoods entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ios_sys_goods", catalog = "ios")
public class IosSysGoods implements java.io.Serializable {

	// Fields

	private Long goodsId;
	private String goodsFullName;
	private String goodsSpell;
	private String goodsBarCode;
	private String goodsBasicUnit;
	private String goodsSpec;
	private Long goodsType;
	private Integer isUsed;
	private String position;
	private Float conversationRate;
	private Float integralCoefficient;
	private Float ratialPrice;
	private Float memberPrice;
	private Float minimumPrice;
	private Float prePrice1;
	private Float prePrice2;
	private Float prePrice3;
	private Float prePrice4;
	private Float preCost1;
	private Float preCost2;
	private Float preCost3;
	private Float preCost4;
	private String remark;
	private Long createUserId;
	private String createUserName;
	private String createTime;
	private String version;

	// Constructors

	/** default constructor */
	public IosSysGoods() {
	}

	/** minimal constructor */
	public IosSysGoods(String goodsFullName) {
		this.goodsFullName = goodsFullName;
	}

	/** full constructor */
	public IosSysGoods(String goodsFullName, String goodsSpell,
			String goodsBarCode, String goodsBasicUnit, String goodsSpec,
			Long goodsType, Integer isUsed, String position,
			Float conversationRate, Float integralCoefficient,
			Float ratialPrice, Float memberPrice, Float minimumPrice,
			Float prePrice1, Float prePrice2, Float prePrice3, Float prePrice4,
			Float preCost1, Float preCost2, Float preCost3, Float preCost4,
			String remark, Long createUserId, String createUserName,
			String createTime, String version) {
		this.goodsFullName = goodsFullName;
		this.goodsSpell = goodsSpell;
		this.goodsBarCode = goodsBarCode;
		this.goodsBasicUnit = goodsBasicUnit;
		this.goodsSpec = goodsSpec;
		this.goodsType = goodsType;
		this.isUsed = isUsed;
		this.position = position;
		this.conversationRate = conversationRate;
		this.integralCoefficient = integralCoefficient;
		this.ratialPrice = ratialPrice;
		this.memberPrice = memberPrice;
		this.minimumPrice = minimumPrice;
		this.prePrice1 = prePrice1;
		this.prePrice2 = prePrice2;
		this.prePrice3 = prePrice3;
		this.prePrice4 = prePrice4;
		this.preCost1 = preCost1;
		this.preCost2 = preCost2;
		this.preCost3 = preCost3;
		this.preCost4 = preCost4;
		this.remark = remark;
		this.createUserId = createUserId;
		this.createUserName = createUserName;
		this.createTime = createTime;
		this.version = version;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "native")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "goods_id", unique = true, nullable = false)
	public Long getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}

	@Column(name = "goods_full_name", nullable = false, length = 100)
	public String getGoodsFullName() {
		return this.goodsFullName;
	}

	public void setGoodsFullName(String goodsFullName) {
		this.goodsFullName = goodsFullName;
	}

	@Column(name = "goods_spell", length = 100)
	public String getGoodsSpell() {
		return this.goodsSpell;
	}

	public void setGoodsSpell(String goodsSpell) {
		this.goodsSpell = goodsSpell;
	}

	@Column(name = "goods_bar_code", length = 100)
	public String getGoodsBarCode() {
		return this.goodsBarCode;
	}

	public void setGoodsBarCode(String goodsBarCode) {
		this.goodsBarCode = goodsBarCode;
	}

	@Column(name = "goods_basic_unit", length = 100)
	public String getGoodsBasicUnit() {
		return this.goodsBasicUnit;
	}

	public void setGoodsBasicUnit(String goodsBasicUnit) {
		this.goodsBasicUnit = goodsBasicUnit;
	}

	@Column(name = "goods_spec", length = 300)
	public String getGoodsSpec() {
		return this.goodsSpec;
	}

	public void setGoodsSpec(String goodsSpec) {
		this.goodsSpec = goodsSpec;
	}

	@Column(name = "goods_type")
	public Long getGoodsType() {
		return this.goodsType;
	}

	public void setGoodsType(Long goodsType) {
		this.goodsType = goodsType;
	}

	@Column(name = "is_used")
	public Integer getIsUsed() {
		return this.isUsed;
	}

	public void setIsUsed(Integer isUsed) {
		this.isUsed = isUsed;
	}

	@Column(name = "position", length = 100)
	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	@Column(name = "conversation_rate", precision = 12, scale = 0)
	public Float getConversationRate() {
		return this.conversationRate;
	}

	public void setConversationRate(Float conversationRate) {
		this.conversationRate = conversationRate;
	}

	@Column(name = "integral_coefficient", precision = 12, scale = 0)
	public Float getIntegralCoefficient() {
		return this.integralCoefficient;
	}

	public void setIntegralCoefficient(Float integralCoefficient) {
		this.integralCoefficient = integralCoefficient;
	}

	@Column(name = "ratial_price", precision = 12, scale = 0)
	public Float getRatialPrice() {
		return this.ratialPrice;
	}

	public void setRatialPrice(Float ratialPrice) {
		this.ratialPrice = ratialPrice;
	}

	@Column(name = "member_price", precision = 12, scale = 0)
	public Float getMemberPrice() {
		return this.memberPrice;
	}

	public void setMemberPrice(Float memberPrice) {
		this.memberPrice = memberPrice;
	}

	@Column(name = "minimum_price", precision = 12, scale = 0)
	public Float getMinimumPrice() {
		return this.minimumPrice;
	}

	public void setMinimumPrice(Float minimumPrice) {
		this.minimumPrice = minimumPrice;
	}

	@Column(name = "pre_price1", precision = 12, scale = 0)
	public Float getPrePrice1() {
		return this.prePrice1;
	}

	public void setPrePrice1(Float prePrice1) {
		this.prePrice1 = prePrice1;
	}

	@Column(name = "pre_price2", precision = 12, scale = 0)
	public Float getPrePrice2() {
		return this.prePrice2;
	}

	public void setPrePrice2(Float prePrice2) {
		this.prePrice2 = prePrice2;
	}

	@Column(name = "pre_price3", precision = 12, scale = 0)
	public Float getPrePrice3() {
		return this.prePrice3;
	}

	public void setPrePrice3(Float prePrice3) {
		this.prePrice3 = prePrice3;
	}

	@Column(name = "pre_price4", precision = 12, scale = 0)
	public Float getPrePrice4() {
		return this.prePrice4;
	}

	public void setPrePrice4(Float prePrice4) {
		this.prePrice4 = prePrice4;
	}

	@Column(name = "pre_cost1", precision = 12, scale = 0)
	public Float getPreCost1() {
		return this.preCost1;
	}

	public void setPreCost1(Float preCost1) {
		this.preCost1 = preCost1;
	}

	@Column(name = "pre_cost2", precision = 12, scale = 0)
	public Float getPreCost2() {
		return this.preCost2;
	}

	public void setPreCost2(Float preCost2) {
		this.preCost2 = preCost2;
	}

	@Column(name = "pre_cost3", precision = 12, scale = 0)
	public Float getPreCost3() {
		return this.preCost3;
	}

	public void setPreCost3(Float preCost3) {
		this.preCost3 = preCost3;
	}

	@Column(name = "pre_cost4", precision = 12, scale = 0)
	public Float getPreCost4() {
		return this.preCost4;
	}

	public void setPreCost4(Float preCost4) {
		this.preCost4 = preCost4;
	}

	@Column(name = "remark", length = 300)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "create_user_id")
	public Long getCreateUserId() {
		return this.createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	@Column(name = "create_user_name", length = 100)
	public String getCreateUserName() {
		return this.createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	@Column(name = "create_time", length = 14)
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Column(name = "version", length = 10)
	public String getVersion() {
		return this.version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

}